package top.huntwolf.admin.pojo.book;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {

    protected Integer BookId;

    @NotNull(message = "isbn cannot be null")
    protected String isbn;
    protected String series;
    protected String title;
    protected String img;
    protected String smallImg;
    protected String price;
    protected String author;
    protected String publisher;
    protected String pubDate;
    protected String pubPlace;
    protected String binding;
    protected String genus;
    protected String format;
    protected String page;
    protected String wordNum;
    protected String edition;
    protected String yinci;
    protected String paper;
    protected String language;
    protected String keyword;
    protected String bookCatalog;
    protected String gist;
    protected String cipTxt;

    @JsonIgnore
    protected Integer storeId;
}
